/*
 * debug.h
 *
 * Created: 06.06.2012 18:18:14
 *  Author: maxim.karban@gmail.com
 */ 


#ifndef DEBUG_H_
#define DEBUG_H_

//this one pin is UART0 RX in fact
#define DEBUG_PORT        PORTD
#define DEBUG_DDR         DDRD
#define DEBUG_PINbp       0

//#if defined(DEBUG_PIN)
//#define debug_pin_setup   DEBUG_DDR |= 1 << DEBUG_PINbp
//#define debug_pin_on      DEBUG_PORT |= 1 << DEBUG_PINbp
//#define debug_pin_off     DEBUG_PORT &= ~(1 << DEBUG_PINbp)
//#define debug_pin_toggle  DEBUG_PORT ^= (1 << DEBUG_PINbp)
//#else
//#define debug_pin_setup   
//#define debug_pin_on      
//#define debug_pin_off     
//#define debug_pin_toggle  
//#endif

#endif /* DEBUG_H_ */